home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / honeytrouble.swf / scripts / frame_1 / DoAction_2.as next >
Encoding:
Text File  |  2007-09-27  |  1.3 KB  |  56 lines

  1. function next_leve_func()
  2. {
  3.    bg_sound.stop();
  4.    win_sound_ = new Sound(win_sound_mc_);
  5.    win_sound_.attachSound("win");
  6.    win_sound_.start();
  7.    var _loc2_ = _root.attachMovie("appearPoint","appearPoint" + _root.getNextHighestDepth(),_root.getNextHighestDepth());
  8.    _loc2_._x = 250;
  9.    _loc2_._y = 250;
  10.    _loc2_.addItemPoint = 1000;
  11.    delete _root.BAllID;
  12.    clearAll();
  13.    gameZT = "Φ┐çσà│";
  14.    trace("you win");
  15.    delete move_listener_mc.onEnterFrame;
  16.    superBall = false;
  17.    m_lock = true;
  18.    clearBall();
  19.    dir_mc.clear();
  20.    trace("clear ball " + ball);
  21.    mouth.TX.play();
  22.    center_mc._rotation = 90;
  23.    move_listener_mc.onEnterFrame = function()
  24.    {
  25.       if(!game_pause)
  26.       {
  27.          center_mc._rotation = 90;
  28.          winMove();
  29.       }
  30.    };
  31.    holdBall_mc.hold_mc.unloadMovie();
  32.    hold_mx.num = 0;
  33.    delete _root.holdBall;
  34.    _root.holdBall2 == false;
  35. }
  36. function chch(num)
  37. {
  38.    var _loc2_ = 1;
  39.    while(_loc2_ <= 5)
  40.    {
  41.       var _loc3_ = _root["poop" + _loc2_];
  42.       _loc3_._alpha = num;
  43.       _loc2_ = _loc2_ + 1;
  44.    }
  45. }
  46. function re_back_func_()
  47. {
  48.    var _loc2_ = 1;
  49.    while(_loc2_ <= 5)
  50.    {
  51.       var _loc3_ = _root["pop" + _loc2_];
  52.       _loc3_.gotoAndStop(1);
  53.       _loc2_ = _loc2_ + 1;
  54.    }
  55. }
  56.